import os

os.environ["OPENAI_API_KEY"] = "替换成自己的key"
# 替换成自己key对应的url
os.environ["OPENAI_API_BASE"] = "https://api.openai-hk.com/v1"